source_files=`ls *.C`
for src in $source_files
do
    target=${src%*.C}'.c'
    mv $src $target
done